<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script>
        if(location.protocol == "https:"){
            document.write('<script src="https://jspassport.ssl.qhimg.com/psp_jump_white_list.js"><\/script>');
        }else{
            document.write('<script src="http://js.passport.qihucdn.com/psp_jump_white_list.js"><\/script>');
        }
    </script>
</head>
<body>
<script type="text/javascript">
    (function(){
        var queryStr = location.search.substring(1).split('&'),oneQueryStr,args = {},g = parent,scope = parent ,callback, i, len,_test;
        for(i in queryStr){
            oneQueryStr = queryStr[i].split('=');
            if(!callback && oneQueryStr[0] == 'fun'){
                callback = oneQueryStr[1];
                _test = callback;
            };
            if(oneQueryStr[0]&&oneQueryStr[1]){
                args[oneQueryStr[0]] = (oneQueryStr[1]||'').replace(/[><'"{}]/g, '');
            }

        }
        //过滤
        if(typeof window.validateCallback != 'function' || (window.validateCallback && validateCallback(callback))) {
            return;
        }

        callback = callback.split('.');

        for(i = 0,len= callback.length;i<len;i++){
            if(i==0 && callback[0]=="parent"){
                g = parent;
                scope = parent;
            }else if(i==0 && callback[0]=="top"){
                g = top;
                scope = top;
            }else{
                if(i<len-1){
                    scope = scope[callback[i]];
                }
                g = g[callback[i]];
            }
        }

        g.call(scope,args);

    })();
</script>
</body></html>
